package com.ruoyi.merchant.other.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ConfirmPaymentDto {

    /**
     * 购买商户
     */
    private Long merchantId;

    /**
     * 微信 openId
     */
    @NotBlank(message = "未获取到用户信息")
    private String uniqueId;

    /**
     * 请选择需要支付的优惠券
     */
    @NotNull(message = "请选择需要支付的优惠券")
    private Long couponId;

    private String body;

    private Integer amount;
}
